package com.sdkj.dspservice.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sdkj.dspservice.common.base.entity.DataEntity;
import lombok.Data;

/**
 * 用户-角色Entity
 * @author tm
 */
@Data
@TableName(value = "sys_user_role")
public class UserRole extends DataEntity<UserRole> {

    /**
     * 用户
     */
    private String userId;
    /**
     * 角色
     */
    private String roleId;

    public UserRole() {
    }

    public UserRole(String userId, String roleId) {
        this.userId = userId;
        this.roleId = roleId;
    }
}
